Platform Explorer / Nuxeo Platform 2021.24

Contribution org.nuxeo.template.service.jaxrs.contrib--contextExtension

This contribution is part of XML component org.nuxeo.template.service.jaxrs.contrib inside nuxeo-template-rendering-jaxrs-2021.24.3.jar /OSGI-INF/templateprocessor-contrib.xml

Documentation

Adds helper function to manage REST resources urls

  • jaxrs.getResourceUrl(resourceName)

Extension Point

Extension point contextExtension of component TemplateProcessorComponent.

Registration Order

3
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <contextFactory class="org.nuxeo.template.jaxrs.context.ExtensionFactory" name="jaxrs">
        </contextFactory>

XML Source

<extension point="contextExtension" target="org.nuxeo.template.service.TemplateProcessorComponent">

    <documentation>Adds helper function to manage REST resources urls
      <ul>
        <li>jaxrs.getResourceUrl(resourceName)</li>
      </ul>
    </documentation>

    <contextFactory class="org.nuxeo.template.jaxrs.context.ExtensionFactory" name="jaxrs">
    </contextFactory>

  </extension>